const mongoose=require('mongoose')
let BookSchema=new mongoose.Schema({
    name:{
        type:String,
        unique:true 
    },
    author:String,
    price:Number
})
let BookModel=mongoose.model('books',BookSchema)
module.exports=BookModel